package com.fitso.model.bean.measure.volume;

import java.math.BigDecimal;

public class FluidOunce extends Volume {
	private static final long serialVersionUID = 1L;
	
	private static final BigDecimal FROM_BASE = BigDecimal.valueOf(0.0338140227);
	private static final BigDecimal TO_BASE = BigDecimal.valueOf(29.5735296);

	public FluidOunce() {
		super();
	}
	
	public FluidOunce(Integer value){
		super(value);
	}
	
	public FluidOunce(Double value){
		super(value);
	}

	public FluidOunce(BigDecimal value) {
		super(value);
	}

	public FluidOunce(Volume volume) {
		super(volume);
	}

	protected BigDecimal getFromBaseUnitFactor() {
		return FROM_BASE;
	}

	protected BigDecimal getToBaseUnitFactor() {
		return TO_BASE;
	}

	public String getUnitMark() {
		return "fl oz";
	}
}
